<?php
// Latest products
		if(!$intRowCount){
			$intRowCount = 3;
		}
	
		$strProductLatestSQL = 	"SELECT tblProduct.*
		                            , tblCategory.Category  CategoryName
							 	FROM tblProduct
							 	LEFT JOIN tblCategory 
							 		ON tblProduct.Category = tblCategory.ID
								WHERE tblProduct.Discontinued =  '0' AND tblProduct.PromotionalItem  = '1' ";
		$strProductLatestSQL .= " ORDER BY RAND() LIMIT ".$intRowCount;
		

		$objProductLatest = new MySqlResults($strProductLatestSQL);

	if($objProductLatest->ErrorMessages){
		array_push($ActionResults, $objProductLatest->ErrorMessages);
	}

?>
